inside sum